package com.it.entity.reopen;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lutao
 * @since 2025年09月22日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ai_claim_reopen")
public class AiClaimReopen implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 重开赔案唯一ID
     */
    @TableId(value = "reopen_id", type = IdType.AUTO)
    private Integer reopenId;

    /**
     * 报案号ID
     */
    @TableField("report_no")
    private String reportNo;

    /**
     * 申请人
     */
    @TableField("applicant")
    private String applicant;

    /**
     * 申请时间
     */
    @TableField("apply_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime applyTime;

    /**
     * 保单号
     */
    @TableField("policy_id")
    private String policyId;

    /**
     * 重开赔案原因
     */
    @TableField("reopen_reason")
    private String reopenReason;

    /**
     * 重开赔案金额
     */
    @TableField("reopen_money")
    private BigDecimal reopenMoney;

    /**
     * 审核状态(1-待审核,2-审核通过,3-申请拒绝)
     */
    @TableField("approve_status")
    private Integer approveStatus;

    /**
     * 	审核意见
     */
    @TableField("approve_remark")
    private String approveRemark;


    @TableField("approve_user")
    private String approveUser;


    @TableField("new_report_id")
    private String newReportId;


}
